const userController = require('../controller/user')


module.exports =  (router) => {
  router.get('/user', userController.main)


  router.get('/user/checkName',userController.checkName)


  //用户注册
  router.post('/user/regist',userController.regist)

  //正则
  // router.get('/user/checkZzName',userController.checkZzName)
}
